package com.mpyy.service.everyday;

import com.mpyy.dao.everyday.SalesmanDaoInter;
import com.mpyy.pojo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PackageName:com.mpyy.service.everyday
 * @ClassName:SalesmanSercicImpl
 * @Date:2022-03-11:8:14
 * @Author: Tang Neng
 */
@Service
public class SalesmanSercicImpl implements SalesmanServicInter {
    @Autowired
    private SalesmanDaoInter salesmanDaoInter;
    @Override
    public List<EmployeeInfo> searchSalesmanInfo(String empId) {
        return salesmanDaoInter.searchSalesmanInfo(empId);
    }

    @Override
    public List<SaleOrder> searchSaleOrderInfo(String empId) {
        return salesmanDaoInter.searchSaleOrderInfo(empId);
    }

    @Override
    public List<SaleOrderDesc> searchSaleOrderDescInfo(String string) {
        return salesmanDaoInter.searchSaleOrderDescInfo(string);
    }

    @Override
    public List<SaleReturn> searchSaleReturnInfo(String empId) {
        return salesmanDaoInter.searchSaleReturnInfo(empId);
    }

    @Override
    public List<SaleReturnDesc> searchSaleReturnDesc(String string) {
        return salesmanDaoInter.searchSaleReturnDesc(string);
    }

    @Override
    public List<PurchaseStock> searchPurchaseStockInfo(String empId) {
        return salesmanDaoInter.searchPurchaseStockInfo(empId);
    }

    @Override
    public List<PurchaseStockDesc> searchPurchaseStockDescInfo(String string) {
        return salesmanDaoInter.searchPurchaseStockDescInfo(string);
    }

    @Override
    public List<PurchaseReturn> searchPurchaseReturnInfo(String empId) {
        return salesmanDaoInter.searchPurchaseReturnInfo(empId);
    }

    @Override
    public List<PurchaseReturnDesc> searchPurchaseReturnDescInfo(String string) {
        return salesmanDaoInter.searchPurchaseReturnDescInfo(string);
    }
}
